#pragma once

#include <ECS/ECS.h>

#include <Ogre.h>
#include "../Types.h"

class SceneNode : public ECS::Component
{
	mtMETA_DEC;
public:
	SceneNode();
	virtual ~SceneNode();

	void setNodePosition(const Vector2& position);
	void setNodeRotation(float rotation);
	void setNodeScale(float scale);
protected:
	Ogre::SceneNode* _sceneNode;
};

class SimpleSceneNode : public SceneNode
{
	mtMETA_DEC;
public:
	SimpleSceneNode();
	virtual ~SimpleSceneNode();

	std::string meshName;

	virtual void onStart();
};